<!DOCTYPE HTML>
<html>
<head>
<script src="js/require.min.js"></script>
</head>

<body>
<script>

require(['math'], function (math){
    alert(math.add(1,2))
});
</script>
</body>

</html>